import liveRooms from './liveRooms.vue'
import liveRoomsAdd from './liveRoomsAdd.vue'
import liveRoomsEdit from './liveRoomsEdit.vue'
import liveRoomsSearch from './liveRoomsSearch.vue'
import liveRoomsView from './liveRoomsView.vue'

const components = [
  liveRooms,
  liveRoomsAdd,
  liveRoomsEdit,
  liveRoomsSearch,
  liveRoomsView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
